# encoding: utf-8
# !/usr/local/bin/python3

"""
@author: Gao Shuo
@contact: dorothy400@163.com
@software: PyCharm
@file: functions.py
@time: 2020/5/6 11:18

input: 
output: 
"""
import os
def new_folder (path ):
    """
    如果路径不是-，不存在的话就新建
    """
    if path != '-':
        if not os.path.exists(path):
            os.makedirs(path)
    return path